import request from './request'

export const list = (data) => {
  return request({
    url: '/maintain/list',
    method: 'POST',
    data
  })
}

export const getGenerate = (data) => {
  return request({
    url: '/maintain/getGenerate',
    method: 'POST',
    data
  })
}

export const save = (data) => {
  return request({
    url: '/maintain/save',
    method: 'POST',
    data
  })
}
export const modify = (data) => {
  return request({
    url: '/maintain/modify',
    method: 'POST',
    data
  })
}

export const remove = (ids) => {
  return request({
    url: '/maintain/remove?ids=' + ids,
    method: 'GET'
  })
}
